{% extends 'back/index.html' %}

{% block content %}
    <div class="rt_content">
        <div class="page_title">
            <h2 class="fl">添加/更新会员等级</h2>
        </div>
        <table class="table">
            <tr>
                <td style="text-align:right;">会员等级：</td>
                <td>
                    <input type="text" class="textbox" value="" placeholder="等级名称"/>
                </td>
                <td style="text-align:right;">享受折扣率：</td>
                <td>
                    <input type="text" class="textbox" value="" placeholder="0-100"/>
                    <span>%</span>
                </td>
                <td>
                    <input type="button" value="确认" class="group_btn"/>
                </td>
            </tr>
        </table>
        <div class="page_title">
            <h2 class="fl">等级列表</h2>
        </div>
        <table class="table">
            <tr>
                <th>Id</th>
                <th>会员等级</th>
                <th>享受折扣率</th>
                <th>操作</th>
            </tr>
            <tr>
                <td class="center">001</td>
                <td class="center">普通会员</td>
                <td>90%</td>
                <td class="center">
                    <a href="#" title="编辑" class="link_icon">&#101;</a>
                    <a href="#" title="删除" class="link_icon">&#100;</a>
                </td>
            </tr>
            <tr>
                <td class="center">002</td>
                <td class="center">高级会员</td>
                <td>80%</td>
                <td class="center">
                    <a href="#" title="编辑" class="link_icon">&#101;</a>
                    <a href="#" title="删除" class="link_icon">&#100;</a>
                </td>
            </tr>
        </table>
    </div>

    <script>
        (function ($) {
            $(window).load(function () {
                $('#drop3').collapse('show');
                $('#3-4').addClass('active');
            });
        })(jQuery);
    </script>
{% endblock %}
